package com.mspbots.api.service;

import com.mspbots.cw.request.TenantTimeEntryDTO;
import com.mspbots.dto.page.IPage;

import java.util.List;
import java.util.Map;

/**
 * TenantUserTimeEntryService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/6/17
 */
@Deprecated
public interface TenantUserTimeEntryService {

    /**
     * @param timeEntries
     * @return
     */
    List<TenantTimeEntryDTO> addBatch(List<TenantTimeEntryDTO> timeEntries);

    /**
     * find time entry for rule
     *
     * @param params
     * @return java.util.List<com.mspbots.cw.request.TimeEntryDTO>
     * @author Jun Zhou
     * @date 10:25 2019/7/1
     **/
    List<TenantTimeEntryDTO> findForRule(Map<String, Object> params);

    /**
     * @param params
     * @return
     */
    IPage<TenantTimeEntryDTO> selectPage(Map<String, Object> params);


    List<TenantTimeEntryDTO> listByTenantUserId(Map<String, Object> timeEntryParams);

}
